package edu.kjxy.day03.doubleSynBlackOneTwo;

/**
 * 功能:
 * 作者:程序员欧阳子韩
 * 日期:2024/2/2 18:37
 */
public class ThreadA extends Thread{
    private ObjectService service;
    public ThreadA(ObjectService service){
        super();
        this.service = service;
    }

    @Override
    public void run() {
        super.run();
        service.serviceMethodA();
    }
}